package com.ruoyi.project.domain;

import java.io.Serializable;
import java.util.List;

/**
 *
 * @author liboyu
 */
public class RecoveryNode implements Serializable {

    private static final long serialVersionUID = 1L;

    /** 工程复盘主键 */
    private Long id;

    /** 工程复盘上级目录 */
    private Long pid;

    /** 工程复盘标题 */
    private String label;

    /** 排序 */
    private Long recoverySort;

    /** 级别 */
    private Long level;

    /**
     * 子节点集合
     */
    private List<RecoveryNode> children;

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("RecoveryNode{");
        sb.append("id=").append(id);
        sb.append(", pid=").append(pid);
        sb.append(", label='").append(label).append('\'');
        sb.append(", recoverySort=").append(recoverySort);
        sb.append(", level=").append(level);
        sb.append(", children=").append(children);
        sb.append('}');
        return sb.toString();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public Long getRecoverySort() {
        return recoverySort;
    }

    public void setRecoverySort(Long recoverySort) {
        this.recoverySort = recoverySort;
    }

    public Long getLevel() {
        return level;
    }

    public void setLevel(Long level) {
        this.level = level;
    }

    public List<RecoveryNode> getChildren() {
        return children;
    }

    public void setChildren(List<RecoveryNode> children) {
        this.children = children;
    }
}
